package okhttp.itydl.com.download.scheduler;

import android.os.Handler;
import android.os.Looper;

/**
 * 在 UI 线程执行任务
 *
 * @author yangdaolong
 */

public class UiScheduler implements IScheduler {
    private static final Handler HANDLER = new Handler(Looper.getMainLooper());

    @Override
    public void execute(Runnable runnable) {
        HANDLER.post(runnable);
    }
}
